<?php

namespace App\Models;

use App\User;
use Illuminate\Database\Eloquent\Model;

class PickupCheckHistory extends Model
{
    protected $table = 'pickup_check_history';

    public function pickupSite()
    {
        return $this->belongsTo(PickupSite::class, 'site_id');
    }

    public function user()
    {
        return $this->belongsTo(User::class);
    }

    public function shoppingOrder()
    {
        return $this->belongsTo(ShoppingOrder::class, 'order_id');
    }
}
